package com.service.Impl;
import java.util.List;
import com.dao.SysDepartmentMapper;
import com.entity.SysDepartment;
import com.service.SysDepartmentService;
public class SysDepartmentServiceImpl implements SysDepartmentService{
    private SysDepartmentMapper sysDepartmentMapper;
    @Override
    public long getSysDepartmentRowCount(){
        return sysDepartmentMapper.getSysDepartmentRowCount();
    }
    @Override
    public List<SysDepartment> selectSysDepartment(){
        return sysDepartmentMapper.selectSysDepartment();
    }
    @Override
    public SysDepartment selectSysDepartmentByObj(SysDepartment obj){
        return sysDepartmentMapper.selectSysDepartmentByObj(obj);
    }
    @Override
    public SysDepartment selectSysDepartmentById(Integer id){
        return sysDepartmentMapper.selectSysDepartmentById(id);
    }
    @Override
    public int insertSysDepartment(SysDepartment value){
        return sysDepartmentMapper.insertSysDepartment(value);
    }
    @Override
    public int insertNonEmptySysDepartment(SysDepartment value){
        return sysDepartmentMapper.insertNonEmptySysDepartment(value);
    }
    @Override
    public int insertSysDepartmentByBatch(List<SysDepartment> value){
        return sysDepartmentMapper.insertSysDepartmentByBatch(value);
    }
    @Override
    public int deleteSysDepartmentById(Integer id){
        return sysDepartmentMapper.deleteSysDepartmentById(id);
    }
    @Override
    public int updateSysDepartmentById(SysDepartment enti){
        return sysDepartmentMapper.updateSysDepartmentById(enti);
    }
    @Override
    public int updateNonEmptySysDepartmentById(SysDepartment enti){
        return sysDepartmentMapper.updateNonEmptySysDepartmentById(enti);
    }

    public SysDepartmentMapper getSysDepartmentMapper() {
        return this.sysDepartmentMapper;
    }

    public void setSysDepartmentMapper(SysDepartmentMapper sysDepartmentMapper) {
        this.sysDepartmentMapper = sysDepartmentMapper;
    }

}